@charset "UTF-8";

// Built-in modules
@use "sass:color";
@use "sass:list";
@use "sass:map";
@use "sass:math";
@use "sass:meta";
@use "sass:selector";
@use "sass:string";

// Mixkit settings and modules
@use "mixkit/settings" as settings;

/// Hides an element visually while maintaining screen reader and assistive
/// technology accessibility.
///
/// @name hide-visually
///
/// @group mixkit/prefab
///
/// @param {boolean} $hide - [true]
///   Hide or unhide element.
///
/// @output CSS declarations.
///
/// @link https://goo.gl/Vf1TGn
///
/// @access public
///
/// @since 1.0.0

@mixin hide-visually($hide: true) {
  @if $hide {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(100%);
    white-space: nowrap;
  } @else {
    position: static;
    overflow: visible;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    white-space: inherit;
  }
}
